Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Textures


Q3Texture_GetWidth

You can use the Q3Texture_GetWidth function to get the width of a texture.

TQ3Status Q3Texture_GetWidth (
TQ3TextureObject texture, 
unsigned long *width);
texture
A texture object.
width
On exit, the width of the specified texture.
DESCRIPTION
The Q3Texture_GetWidth function returns, in the width parameter, the width of the texture specified by the texture parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996